﻿using CommunityToolkit.Mvvm.ComponentModel;
using ProductionLine.Modules.ShareLib.Models;
using SqlSugar;
using System.ComponentModel;

namespace ProductionLine.Models;

[SugarTable("menu")]
public class Menu : EntityBase {

    private string _menuName;
    public string MenuName {
        get => _menuName;
        set => SetProperty(ref _menuName, value);
    }

    private string _icon;
    public string Icon {
        get => _icon;
        set => SetProperty(ref _icon, value);
    }

    private string _view;
    public string View {
        get => _view;
        set => SetProperty(ref _view, value);
    }

    private int _sort;
    public int Sort {
        get => _sort;
        set => SetProperty(ref _sort, value);
    }
}